package com.lz.app.demo.dto.response;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Title: MeetingResponseDto
 * @ProjectName app-service
 * @Author huchao
 * @Date 2018/9/5下午2:08
 */
@Data
@ApiModel(description = "会议详情")
public class MeetingResponseDto {

	@ApiModelProperty(value = "会议主键", example = "1")
	private Integer id;

	/**
	 * 主题
	 */
	@ApiModelProperty(value = "会议主题", example = "啦啦啦")
	private String theme;

	/**
	 * 开始时间
	 */
	@ApiModelProperty(value = "开始时间", example = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	private Date beginTime;

	/**
	 * 结束时间
	 */
	@ApiModelProperty(value = "结束时间", example = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	private Date endTime;

	/**
	 * 创建人
	 */
	@ApiModelProperty(value = "创建人主键", example = "1")
	private Integer userId;

	/**
	 * 会议提醒时间设置，时间为分。例如提前5min提醒，则设置为5
	 */
	@ApiModelProperty(value = "会议提醒时间设置", example = "5")
	private Integer remindTime;

	/**
	 * remindTime的提醒类型:0->应用内；1->短信；2->电话
	 */
	@ApiModelProperty(value = "提醒类型:0->应用内；1->短信；2->电话", example = "5")
	private Integer remindType;

	/**
	 * 推送类型:0->应用内；1->短信；2->电话
	 */
	@ApiModelProperty(value = "推送类型:0->应用内；1->短信；2->电话", example = "5")
	private Integer pushType;


	@ApiModelProperty(value = "会议提醒时间设置")
	private List<MeetingMemberResponseDto> memberList;

}
